package jlu.zqq.po;

/**
 * Department entity. @author MyEclipse Persistence Tools
 */

public class Department implements java.io.Serializable {

	// Fields

	/**
	 * 
	 */
	private static final long serialVersionUID = -1177085688444266105L;
	private Integer id;
	private String bname;
	private String phone;
	private String sjbm;
	private String ip;
	private Integer bmjb;
	private Integer usernum;

	// Constructors

	/** default constructor */
	public Department() {
	}

	/** minimal constructor */
	public Department(Integer id) {
		this.id = id;
	}

	/** full constructor */
	public Department(Integer id, String bname, String phone, String sjbm,
			String ip, Integer bmjb, Integer usernum) {
		this.id = id;
		this.bname = bname;
		this.phone = phone;
		this.sjbm = sjbm;
		this.ip = ip;
		this.bmjb = bmjb;
		this.usernum = usernum;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getBname() {
		return this.bname;
	}

	public void setBname(String bname) {
		this.bname = bname;
	}

	public String getPhone() {
		return this.phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getSjbm() {
		return this.sjbm;
	}

	public void setSjbm(String sjbm) {
		this.sjbm = sjbm;
	}

	public String getIp() {
		return this.ip;
	}

	public void setIp(String ip) {
		this.ip = ip;
	}

	public Integer getBmjb() {
		return this.bmjb;
	}

	public void setBmjb(Integer bmjb) {
		this.bmjb = bmjb;
	}

	public Integer getUsernum() {
		return this.usernum;
	}

	public void setUsernum(Integer usernum) {
		this.usernum = usernum;
	}

}